package com.weme.common.network



const val LOGIN_TYPE  = "login_type"
const val BIND_TYPE  = "bind_type"
const val MATCH_TIME  = "im_match_timeout"
const val CALL_WAIT_TIME  = "call_wait_time"
const val RECHARGE_GUIDE  = "recharge_guide"
const val FEEDBACK_TIPS  = "feedback_tips"//意见反馈tips
const val MATCH_HALL_TIPS  = "match_hall_tips"//匹配大厅文字
const val MATCHING_TIPS  = "matching_tips"//匹配中文字





const val ERROR_COND_CALL_ONLINE = 13023//呼叫失败，他需要给你发送至少5条信息才可以呼叫他
const val ERROR_CODE_CALL_WAIT = 13018//呼叫失败请等待用户回拨
const val ERROR_CODE_CALL_FAIL = 13009//呼叫失败
const val ERROR_CODE_NOT_SUBSCRIBE = 13013 //未订阅用户不能呼叫
const val ERROR_CODE_CALLED_BUSY = 13014 //呼叫用户繁忙
const val ERROR_CODE_CALL_BALANCE_NOT_ENOUGH = 13015 //呼叫失败余额不足
const val ERROR_CODE_CHANNEL_NOT_EXIST = 13007//频道不存在
const val ERROR_CODE_ANSWER_BALANCE_NOT_ENOUGH = 13017//接听失败余额不足
const val ERROR_CODE_USER_BALANCE_NOT_ENOUGH = 13008//用户余额不足
const val CMD_VIDEO_CANCEL = 5116//通话已取消
const val ERROR_CODE_CALL_BUSY = 13021//呼叫失败，用户繁忙


const val ERROR_CODE_CALL_NOT_ONLINE =13022//Not online


enum class NetWorkUrl(val method: String, val seq:Long) {
    Login("Login", 1),
    GoogleLogin("Login", Login.seq+1),
    OnlineList("GetOnlineList", GoogleLogin.seq+1),
    OnlineNewList("GetOnlineList", OnlineList.seq+1),
    GetUserInfo("GetUserInfo", OnlineNewList.seq+1),
    MineGetUserInfo("GetUserInfo", GetUserInfo.seq+1),
    AddUserInfo("GetUserInfo", MineGetUserInfo.seq+1),
    GetAccountInfo("GetAccountInfo", AddUserInfo.seq+1),
    Logout("Logout", GetAccountInfo.seq+1),
    DeleteAccount("DeleteAccount", Logout.seq+1),
    GetCountryList("GetCountryList", DeleteAccount.seq+1),
    GetAlbum("GetAlbum", GetCountryList.seq+1),
    UploadAlbum("UploadAlbum", GetAlbum.seq+1),
    DeleteAlbum("DeleteAlbum", UploadAlbum.seq+1),
    EditUserInfo("EditUserInfo", DeleteAlbum.seq+1),
    GetEdUserInfo("GetUserInfo", EditUserInfo.seq+1),
    GetUserInfoActivity("GetUserInfo", GetEdUserInfo.seq+1),
    Follow("Follow", GetUserInfoActivity.seq+1),
    UnFollow("UnFollow", Follow.seq+1),
    FollowList("FollowList", UnFollow.seq+1),
    FansList("FansList", FollowList.seq+1),
    LiveGetUserInfo("GetUserInfo", FansList.seq+1),
    GetGiftList("GetGiftList", LiveGetUserInfo.seq+1),
    SendGift("SendGift", GetGiftList.seq+1),
    SendGiftLive("SendGift", SendGift.seq+1),
    SendGiftUserInfo("SendGift", SendGiftLive.seq+1),
    SendGiftLookBigImg("SendGift", SendGiftUserInfo.seq+1),
    GetFollowCount("GetFollowCount", SendGiftLookBigImg.seq+1),
    GetFansCount("GetFansCount", GetFollowCount.seq+1),
    GetVipInfo("GetVipInfo", GetFansCount.seq+1),
    KeyValueConfig("GetKeyValueConfig", GetVipInfo.seq+1),
    Bind("Bind", KeyValueConfig.seq+1),
    CheckLogin("CheckLogin", Bind.seq+1),
    GetUserInfoUserInfo("GetUserInfo", CheckLogin.seq+1),
    UserInfoAlbum("GetAlbum", GetUserInfoUserInfo.seq+1),
    GetUserInfoIn("GetUserInfo", UserInfoAlbum.seq+1),
    GetChatAlbum("GetAlbum", GetUserInfoIn.seq+1),
    SendChatGift("SendGift", GetChatAlbum.seq+1),
    GetMatchBanner("GetMatchBanner", SendChatGift.seq+1),
    MatchRequest("Match", GetMatchBanner.seq+1),
    MatchAnswerRequest("MatchAnswer", MatchRequest.seq+1),
    MatchCancelRequest("MatchCancel", MatchAnswerRequest.seq+1),
    GetRtcToken("GetRtcToken", MatchCancelRequest.seq+1),
    HeartVideo("HeartVideo", GetRtcToken.seq+1),
    HangUpVideo("HangUpVideo", HeartVideo.seq+1),
    CallVideo("CallVideo", HangUpVideo.seq+1),
    MatchRequestIng("Match", CallVideo.seq+1),
    GetGoodsList("GetGoodsList", MatchRequestIng.seq+1),
    CallConfig("GetCallConfig", GetGoodsList.seq+1),
    FirstFrame("FirstFrame", CallConfig.seq+1),
    GetCallUserInfo("GetUserInfo", FirstFrame.seq+1),
    AnswerVideo("AnswerVideo", GetCallUserInfo.seq+1),
    ChatUserInfo("GetUserInfo", AnswerVideo.seq+1),
    CallEvaluate("CallEvaluate", ChatUserInfo.seq+1),
    GetCallRecord("GetCallRecord", CallEvaluate.seq+1),
    GetCallRecordMissed("GetCallRecord", GetCallRecord.seq+1),
    GetCallRecordMatch("GetCallRecord", GetCallRecordMissed.seq+1),
    Black("Black", GetCallRecordMatch.seq+1),
    UnBlack("UnBlack", Black.seq+1),
    Report("Report", UnBlack.seq+1),
    GetBlackList("GetBlackList", Report.seq+1),
    Feedback("Feedback", GetBlackList.seq+1),
    CancelCall("CancelCall", Feedback.seq+1),
    RefuseVideo("RefuseVideo", CancelCall.seq+1),
    GetChannelInfo("GetChannelInfo", RefuseVideo.seq+1),
    CallGetChannelInfo("GetChannelInfo", GetChannelInfo.seq+1),
    AfterSendImMsg("AfterSendImMsg", CallGetChannelInfo.seq+1),
    CallGetAlbum("GetAlbum", AfterSendImMsg.seq+1),
    GetGiftWall("GetGiftWall", CallGetAlbum.seq+1),
    Translate("Translate", GetGiftWall.seq+1),
    DownloadGiftMp4("GetGiftList", Translate.seq+1),
    LiveTranslate("Translate", DownloadGiftMp4.seq+1),
    ReportCallDuration("ReportCallDuration", LiveTranslate.seq+1),
    CheckBlack("CheckBlack", ReportCallDuration.seq+1),
    LookImgReport("Report", CheckBlack.seq+1),
    LiveFollow("Follow", LookImgReport.seq+1),
   // SendGift("SendGift", GetVipInfo.seq+1),download
    KY_SYS_ADV("ky_sys_adv", 6),
    KY_SYS_LIVE("ky_sys_live", 7)

}
